package com.woniu.platform.service;

import com.woniu.platform.entity.PlatformUser;
import com.woniu.util.utils.HttpResult;
import com.woniu.util.utils.RequestResult;

public interface PlatformUserService {
    /**
     * 用户登录
     * @param account
     * @return
     */
    HttpResult getUsersInfoByAccount(String account);

    /**
     * 通过不同信息分页查询用户
     * @param request
     * @return
     */
    HttpResult queryPlatformUserInfo(RequestResult<PlatformUser> request);

    /**
     * 修改用户信息
     * @param platformUser
     * @return
     */
    public HttpResult changeUserInfo(PlatformUser platformUser);

    /**
     * 添加用户信息
     * @param platformUser
     * @return
     */
     HttpResult insertUserInfo(PlatformUser platformUser);
}
